import {observable} from 'mobx';


 class AppStore {

    @observable homeTitle = 'test title';
    @observable homeContent = '';

    @observable aboutTitle = '';
    @observable aboutList = [];

    // constructor(app){
    //     Object.assign(this,app);
    // }

    initData(data){
        Object.assign(this,data);
    }

    changeTitle(title){
        console.log('title: ', title);

        this.homeTitle = title;
    }

}

var app = new AppStore()

export default app;